food.controller('aboutController',function($scope,$http,$stateParams){
	$http({
		method:'get',
		url: '../api/homeApi.php?action=about_shop'
	}).then(function(result){
		$scope.about_shop = result.data;
	});

	$http({
        method: 'get',
        url: '../api/homeApi.php?action=about_conf'
    }).then(function (result) {
        $scope.about_conf = result.data;
    });

});

food.controller('mainController', function ($scope, $http, $stateParams){

    $http({
        method:'get',
        url: '../api/homeApi.php?action=pinpai&art_id=' + $stateParams.artId
    }).then(function(result){
        $scope.pinpai = result.data;
    });

});